tools: Save superpages in the same batch, to make detection easier
authorGeorge Dunlap <george.dunlap@eu.citrix.com>
Thu, 26 May 2011 14:27:32 +0000 (15:27 +0100)
committerGeorge Dunlap <george.dunlap@eu.citrix.com>
Thu, 26 May 2011 14:27:32 +0000 (15:27 +0100)
commitbc14571cb1c03ed1691a520f444828f36b605116
tree594f156352c4eba9cf1a39a8fc59862ff1cbe087
parent10835a4ccc91d8adad11285816d42a8b0cd1c9ba
tools: Save superpages in the same batch, to make detection easier

On the first time through (when pfns are mostly allocated on
the receiving side), try to keep superpages together in the same
batch by ending a batch early if we see the first page of a
potential superpage and there isn't enough room in the batch
for a full superpage.

Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson.citrix.com>
tools/libxc/xc_domain_save.c